package com.wmlive.hhvideo.heihei.personal.view;

import com.wmlive.hhvideo.common.base.BaseView;
import com.wmlive.hhvideo.heihei.beans.login.UserInfo;
import com.wmlive.hhvideo.heihei.beans.login.MobileLoginResponse;

/**
 * Created by XueFei on 2017/5/31.
 *
 * 个人
 */

public interface IPersonalView extends BaseView{

    /**
     * 从SP中获取个人页主页--用户信息
     * @param account
     */
    void setUserInfoSucceed(MobileLoginResponse account);

    void setUserInfoFailure();

    /**
     * 获取个人信息
     * @param userHomeEntry
     */
    void handlePersonalInfoSucceed(UserInfo userHomeEntry);

    void handlePersonalInfoFailure(String error_msg);
}
